<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" dir="ltr" >
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="vivo, VIVO, Vivo, CMS" />
	<meta name="description" content="VIVO! - 网站架设引擎及内容管理系统" />
	<title>VIVO - 管理后台</title>
	<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
	<link href="<?php echo $adminPath; ?>/css/template.css" rel="stylesheet" type="text/css" />
	<!--[if IE 7]><link href="<?php echo $adminPath; ?>/css/ie7.css" rel="stylesheet" type="text/css" /><![endif]-->
	<!--[if lte IE 6]><link href="<?php echo $adminPath; ?>/css/ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
	<link href="<?php echo $adminPath; ?>/css/login.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<?php echo $commonPath; ?>/js/jquery-1.4.4.js"></script>
	
	<script language="javascript" type="text/javascript">
	function setFocus() {
		document.login.user_loginname.select();
		document.login.user_loginname.focus();
	}
	
	function reVerify() {
		jQuery("#verify_menu").attr("src", "");
		jQuery("#verify_menu").attr("src", "<?php echo $bUrl; ?>index/verify&" + new Date().getTime());
		jQuery("#verify_menu").show();
	}
	
	jQuery(document).ready(function($) {
		$(":text[name='users[vcode]']").focus(function() {
			jQuery("#verify_menu").show();
		})
		$("#form-login-vcode").focusout(function() {
			jQuery("#verify_menu").hide();
		});
	});
	</script>
</head>
<body onload="javascript:setFocus()">
	<!-- start header -->
	<div id="border-top" class="h_green">
		<div>
			<div>
				<span class="title">VIVO</span>
			</div>
		</div>
	</div>
	<!-- end header -->

	<!-- start content-box -->
	<div id="content-box">
		<div class="padding">
			<div id="element-box" class="login">
				<!-- start t -->
				<div class="t"> 
					<div class="t"> 
						<div class="t"></div> 
					</div>
				</div>
				<!-- end t -->
				<div class="m">

					<h1>VIVO!管理后台登录</h1>
					<?php $this->display('common/message.phtml'); ?>
					
					<div id="section-box">
						<!-- start t -->
						<div class="t"> 
							<div class="t"> 
								<div class="t"></div> 
							</div>
						</div>
						<!-- end t -->
						<div class="m">
							<form action="<?php echo $aUrl; ?>" method="post" name="login" id="form-login" style="clear: both;">
								
								<p id="form-login-username">
									<label for="user_loginname">用户名</label>
									<input type="text" name="users[user_loginname]" id="user_loginname" class="inputbox" size="15" />
								</p>
							
								<p id="form-login-password">
									<label for="user_password">密码</label>
									<input type="password" name="users[user_password]" class="inputbox" size="15" />
								</p>
								
								<p id="form-login-verify">
									<img src="<?php echo $bUrl; ?>/index/verify" style="margin-top: -60px;margin-left: 136px" id="verify_menu" />
								</p>
								
								<p id="form-login-vcode">
									<label for="verify">验证码</label>
									<input type="text" name="users[vcode]" class="inputbox" size="8" style="width: 60px" />
									<a href="javascript:reVerify();">点击刷新</a>
								</p>
								
								<div class="button_holder">
									<div class="button1">
										<div class="next">
											<a onclick="login.submit();">登录</a>
										</div>
									</div>
								</div>
								
								<div class="clr"></div>
							
								<input type="submit" style="border: 0; padding: 0; margin: 0; width: 0px; height: 0px;" value="登录" />
							</form>
							<div class="clr"></div>
						</div>
						<div class="b">
							<div class="b">
								<div class="b"></div>
							</div>
						</div>
					</div>
					<p>请使用有效的用户名和密码进入管理后台。</p>
					<p>
						<a href="#">返回网站首页</a>
					</p>
					<div id="lock"></div>
					<div class="clr"></div>
				</div>
				<!-- start b -->
					<div class="b">
						<div class="b">
							<div class="b"></div>
						</div>
					</div>
				<!-- end b -->
			</div>
			
			<noscript>!警告! 必须启用Javascript管理后台才能正常运作</noscript>
			<div class="clr"></div>
		</div>
	</div>
	<!-- end content-box -->

	<?php $this->display('common/footer.phtml'); ?>
</body>
</html>
